package edu.iss.demo.model;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the public_holiday database table.
 * 
 */
@Entity
@Table(name="public_holiday")
@NamedQuery(name="PublicHoliday.findAll", query="SELECT p FROM PublicHoliday p")
public class PublicHoliday implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="ph_id")
	private String phId;

	@Temporal(TemporalType.TIMESTAMP)
	private Date date;

	private String description;

	public PublicHoliday() {
	}

	public String getPhId() {
		return this.phId;
	}

	public void setPhId(String phId) {
		this.phId = phId;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}